//
//  View_VedioPlayer.h
//  yjw-winner
//
//  Created by 王春辉 on 2018/9/14.
//  Copyright © 2018年 Shanghai decade financial information service co., LTD. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface View_VedioPlayer : UIView
@property (weak, nonatomic) IBOutlet UIImageView *vedioBackgroundImageView;
@property (weak, nonatomic) IBOutlet UIView *toolBarView;
@property (weak, nonatomic) IBOutlet UIButton *playButton;
@property (weak, nonatomic) IBOutlet UILabel *progressLabel;
@property (weak, nonatomic) IBOutlet UISlider *progressSlider;
@property (weak, nonatomic) IBOutlet UILabel *totalProgressLabel;
@property (weak, nonatomic) IBOutlet UIButton *screenButton;
@property (weak, nonatomic) IBOutlet UIView *naviBarView;
@property (weak, nonatomic) IBOutlet UIButton *shareButton;
+ (View_VedioPlayer *)vedioPlayerView;
/**
 设置背景图片

 @param image image
 */
- (void)vedioSetBackGoundImage:(UIImage *)image;

/**
 设置播放按钮状态

 @param isPause YES/NO
 */
- (void)vedioSetPlayButtonStatus:(BOOL)isPause;

/**
 设置播放进度

 @param progress progress
 */
- (void)vedioSetProgressLabelWith:(NSString *)progress;

/**
 设置slider value

 @param progress progress
 */
- (void)vedioSetSliderProgressValue:(CGFloat)progress;

/**
 设置总时长

 @param progress progress
 */
- (void)vedioSetTotalProgressValue:(CGFloat)progress;
@end
